package no.cicero.testframework.xml;

public interface IXmlNameTable {
    public static interface IStepParameters {
        public static final String DESCRIPTION_ELEMENT = "description";
        public static final String WEBSERVICE_ELEMENT = "webservice";
        public static final String METHOD_ELEMENT = "method";
        public static final String PRECISION_ELEMENT = "precision";
        public static final String HEADER_PARAMS_ELEMENT = "headerParams";
        public static final String HEADER_PARAMS_PARAM_ELEMENT = "param";
        public static final String HEADER_PARAMS_PARAM_NAME_ATTRIBUTE = "name";
        public static final String HEADER_PARAMS_PARAM_VALUE_ATTRIBUTE = "value";
    }

    public static interface ITestCaseTag extends IStepParameters {
        public static final String ROOT_ELEMENT = "TestCase";
        public static final String STEP_ELEMENT = "step";
    }

    public static interface IStepTag extends IStepParameters {
        public static final String ROOT_ELEMENT = ITestCaseTag.STEP_ELEMENT;
        public static final String ARGUMENTS_ELEMENT = "arguments";
        public static final String EXPECT_ELEMENT = "expect";
        public static final String EXPECTSUCCESS_ELEMENT = "success";
        public static final String EXPECTFAULT_ELEMENT = "fault";
    }

    public static interface IUseCaseTag {
        public static final String ROOT_ELEMENT = "UseCase";
        public static final String SHORT_DESCRIPTION_ELEMENT = "shortdescription";
        public static final String DESCRIPTION_ELEMENT = "description";
        public static final String LOCATION_ELEMENT = "location";
        public static final String FILES_ELEMENT = "files";
    }

    public static interface IUseCaseFilesTag {
        public static final String ROOT_ELEMENT = IUseCaseTag.FILES_ELEMENT;
        public static final String FILE_ELEMENT = "name";
    }

}
